package main.java.leerDatos;

	import java.io.FileInputStream;
	import java.io.IOException;
	import java.util.Properties;

	
	public class Lectura{
		
		public String leer(String key) {
		// Read properties file.
		Properties properties = new Properties();
		try{
			properties.load(new FileInputStream("src/main/resources/cartas.properties"));
		} catch (IOException e) {
		}
		
		String string = properties.getProperty(key);
		return string;
		}
	}

